import Layout from '@/layout'

const reportManage = {
  path: '/reportManage',
  component: Layout,
  redirect: '/reportManage/recharge',
  name: 'reportManage',
  meta: {
    title: '报表管理',
    icon: 'el-icon-s-order',
    roles: ['SYSTEM_USER']
  },
  children: [
    {
      path: '/reportManage/rechargeFlow',
      component: () => import('@/views/reportManage/rechargeFlow/index'),
      name: 'rechargeFlow',
      meta: { title: '充值流水', roles: ['SYSTEM_USER'] }
    },
    {
      path: '/reportManage/expendStatistics',
      component: () => import('@/views/reportManage/expendStatistics/index'),
      name: 'expendStatistics',
      meta: { title: '支出统计', roles: ['SYSTEM_USER'] }
    },
    {
      path: '/reportManage/expendFlow',
      component: () => import('@/views/reportManage/expendFlow/index'),
      name: 'expendFlow',
      meta: { title: '支出流水', roles: ['SYSTEM_USER'] }
    },
    {
      path: '/reportManage/expendDetail',
      component: () => import('@/views/reportManage/expendDetail/index'),
      name: 'expendDetail',
      meta: { title: '支出明细', roles: ['SYSTEM_USER'] }
    },
    {
      path: '/reportManage/enterpriseBalance',
      component: () => import('@/views/reportManage/enterpriseBalance/index'),
      name: 'enterpriseBalance',
      meta: { title: '企业余额统计', roles: ['SYSTEM_USER'] }
    },
    {
      path: '/reportManage/enterpriseBalanceDetail',
      component: () => import('@/views/reportManage/enterpriseBalanceDetail/index'),
      name: 'enterpriseBalanceDetail',
      meta: { title: '企业流水明细', roles: ['SYSTEM_USER'] }
    }
  ]
}
export default reportManage
